<!DOCTYPE html>
<html lang="en-gb" dir="ltr">

    <head>
        <meta charset="utf-8">
        <meta name="viewport" content="width=device-width, initial-scale=1">
        <title>Overlay - UIkit tests</title>
        <script src="js/test.js"></script>
    </head>

    <body>

        <div class="uk-container">

            <h1>Overlay</h1>

            <div class="uk-child-width-1-2@m" uk-grid>
                <div>

                    <div class="uk-inline">
                        <img src="images/photo.jpg" alt="">
                        <div class="uk-overlay uk-overlay-default uk-position-bottom">
                            <p>Default Lorem ipsum dolor sit amet, consectetur adipiscing elit.</p>
                        </div>
                    </div>

                </div>
                <div>

                    <div class="uk-inline">
                        <img src="images/photo.jpg" alt="">
                        <div class="uk-overlay uk-overlay-primary uk-position-bottom">
                            <p>Primary Lorem ipsum dolor sit amet, consectetur adipiscing elit.</p>
                        </div>
                    </div>

                </div>
                <div>

                    <div class="uk-inline">
                        <img src="images/photo.jpg" alt="">
                        <div class="uk-overlay-default uk-position-cover"></div>
                        <div class="uk-overlay uk-position-bottom uk-dark">
                            <p>Default Lorem ipsum dolor sit amet, consectetur adipiscing elit.</p>
                        </div>
                    </div>

                </div>
                <div>

                    <div class="uk-inline">
                        <img src="images/photo.jpg" alt="">
                        <div class="uk-overlay-primary uk-position-cover"></div>
                        <div class="uk-overlay uk-position-bottom uk-light">
                            <p>Primary Lorem ipsum dolor sit amet, consectetur adipiscing elit.</p>
                        </div>
                    </div>

                </div>
            </div>

            <div class="uk-child-width-1-3@m" uk-grid>
                <div>

                    <div class="uk-inline uk-light">
                        <img src="images/photo.jpg" alt="">
                        <div class="uk-position-center">
                            <span uk-overlay-icon></span>
                        </div>
                    </div>

                </div>
                <div>

                    <div class="uk-inline uk-light">
                        <img src="images/photo.jpg" alt="">
                        <div class="uk-overlay-default uk-position-cover">
                            <div class="uk-position-center">
                                <span uk-overlay-icon></span>
                            </div>
                        </div>
                    </div>

                </div>
                <div>

                    <div class="uk-inline uk-light">
                        <img src="images/photo.jpg" alt="">
                        <div class="uk-overlay-primary uk-position-cover">
                            <div class="uk-position-center">
                                <span uk-overlay-icon></span>
                            </div>
                        </div>
                    </div>

                </div>
            </div>

        </div>

    </body>
</html>
